.advertising{
  margin:40px 0 30px 0;
  width: 50%;
  border-radius: 20px;
}
.adv{
  margin-top: 20px;
}
.star{
  display: flex;
  justify-content:flex-end;
  span{
    margin-left: 10px;
    color: #a29f9f;
    img{
      width: 20px;
    }
  }
}
.recommend{
  margin-top:40px;
  width: 1210px;
  position: relative;
  .title-box{
    // display: flex;
    text-align: center;
    padding-bottom: 20px;
    .min-title{
      font-size: 22px;
      color: #333;
      line-height: 40px;
      flex:1;
    }
    .sub-title{
      font-size: 14px;
      color: #999;
      line-height: 30px;
      flex:1;
    }
    .more{
      font-size: 16px;
      line-height: 58px;
      color: #424242;
      margin-right: 5px;
    }
    .more:hover{
      color: $font-color-main;
    }
  }
  .title{
    text-align: center;
    display: block;
    font-size: 28px;
    margin-bottom: 5px;
  }
  .list{
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    .li{
      cursor:pointer;
      width: 20%;
      .card{
        margin: 0 10px 10px 0;
        .image{
          width: 100%;
          height: 190px;
        }
        .name{
          font-size: 14px;
          overflow: hidden;
          text-overflow:ellipsis;
          white-space: nowrap;
        }
        .price{
          display: flex;
          justify-content: center;
          margin-bottom: 10px;
          .symbol{
            font-size: 12px;
            line-height: 35px;
            color: $font-color-main;
            padding-right: 4px;
          }
          .value{
            color: $font-color-main;
            line-height: 35px;
          }
        }
      }
      .card:hover{
        transform: translate(0,-5px);
      }
    }
  }
}
.top{
  padding-bottom: 20px;
  .container{
    position: relative;
  }
}
.secondary-navigation2{
  position: absolute;
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  box-shadow: 0 8px 16px #888888;
  top:0;
  left: 200px;
  z-index: 10;
  width: 1000px;
  height: 460px;
  padding:20px;
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  .li{
    font-size: 12px;
    line-height: 40px;
    display: flex;
    width: 25%;
    .name{
      margin-left:10px;
      margin-right: 10px;
      flex:1;
      overflow: hidden;
      text-overflow:ellipsis;
      white-space: nowrap;
      line-height: 80px;
    }
  }
  .li:hover{
    color: $font-color-main;
  }
  .image{
    width: 80px;
    height: 80px;
  }
}
.secondary-navigation{
  position: absolute;
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  top:0;
  left: 200px;
  z-index: 10;
  width: 1000px;
  height: 460px;
  padding:20px;
  font-size: 14px;
  .list{
    line-height: 40px;
    display: flex;
    .dt{
      width: 100px;
      text-align: right;
      font-weight: bold;
      margin-right: 10px;
      .iconfont{
        margin-left:5px;
        font-size: 12px;
      }
    }
    .dt:hover{
      color: $font-color-main;
    }
    .dd{
      display: flex;
      flex:1;
      .li{
        padding: 0 10px 0 10px;
      }
      .li:hover{
        color: $font-color-main;
      }
    }
  }
}
.classify{
  display: flex;
  background-color: #ffffff;
  position: relative;
  .nave{
    z-index: 10;
    position: absolute;
    left: 0;
    top:0;
    width: 200px;
    color: #ffffff;
    padding-top:20px;
    height: 460px;
    background: rgba(105,101,101,.6);
    .nave-li{
      cursor:pointer;
      padding:10px;
      .iconfont{
        float:right;
        position: relative;
        top:3px;
      }
    }
    .nave-li:hover,.nave-li.on{
      color: #ffffff;
      background-color: $font-color-main;
    }
  }
  .banner{
    flex:1;
    .image{
      width: 100%;
      height: 100%;
    }
  }
}
.el-carousel__item h3 {
  color: #475669;
  font-size: 18px;
  opacity: 0.75;
  line-height: 300px;
  margin: 0;
}

.el-carousel__item:nth-child(2n) {
  background-color: #99a9bf;
}

.el-carousel__item:nth-child(2n+1) {
  background-color: #d3dce6;
}
.top-nav{
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  .logo{
    width: 180px;
    // height: 60px;
    // margin-top:10px;
    // margin-bottom: 10px;
  }
  .nav{
    margin-left:10px;
    margin-top:20px;
    // flex:1;
    display: flex;
    font-weight: bold;
   
    .searchRuleForm{
      width: 400px;
    }
  }
}
.menu{
  background: #fafafa;
  flex:1;
  height: 50px;
  display: flex;
  align-items: center;
  font-weight: bold;
  img{
    width: 20px;
    vertical-align: bottom;
  }
  .active{
    color: $font-color-main;
  }
  .li{
    padding: 0 15px 0 15px;
    letter-spacing: 1px;
  }
  .li:hover{
    color: $font-color-main;
  }
}

.adv-flex {
  display: flex;
  justify-content: space-between;
  // margin: 30px auto;
}

.content{
  display: flex;
  justify-content: space-between;
  .text{
    width: 100%;
    min-height: 33px;
    margin-top: 15px;
    background: url('../assets/img/banner_arrow.svg') no-repeat 99% center;
    background-size: 33px;
    text-align: left
  }
  &-box{
    img{
      width: 360px;
      height: 225px;
    }
    // margin:0 5px;
    p{
      &:nth-child(1){
        font-size: 15px;
      }
      &:nth-child(2){
        margin-top: 10px;
        color: #9a9a9a;
      }
    }
  }
}

.safeguard{
  padding:20px;
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  .li{
    display: flex;
    width: 25%;
    line-height: 40px;
    justify-content: center;
    .iconfont{
      font-size: 32px;
      margin-right: 5px;
    }
  }
}

.wrapper {
  background: linear-gradient(60deg, #420285, #08BDBD);
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
}

.carousel {
  position: relative;
  width: 100%;
  max-width: 500px;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.carousel__item {
  display: flex;
  align-items: center;
  position: absolute;
  width: 100%;
  padding: 0 12px;
  opacity: 0;
  filter: drop-shadow(0 2px 2px #555);
  will-change: transform, opacity;
  -webkit-animation: carousel-animate-vertical 27s linear infinite;
          animation: carousel-animate-vertical 27s linear infinite;
}

.carousel__item:nth-child(1) {
  -webkit-animation-delay: calc(3s * -1);
          animation-delay: calc(3s * -1);
}

.carousel__item:nth-child(2) {
  -webkit-animation-delay: calc(3s * 0);
          animation-delay: calc(3s * 0);
}

.carousel__item:nth-child(3) {
  -webkit-animation-delay: calc(3s * 1);
          animation-delay: calc(3s * 1);
}

.carousel__item:nth-child(4) {
  -webkit-animation-delay: calc(3s * 2);
          animation-delay: calc(3s * 2);
}

.carousel__item:nth-child(5) {
  -webkit-animation-delay: calc(3s * 3);
          animation-delay: calc(3s * 3);
}

.carousel__item:nth-child(6) {
  -webkit-animation-delay: calc(3s * 4);
          animation-delay: calc(3s * 4);
}

.carousel__item:nth-child(7) {
  -webkit-animation-delay: calc(3s * 5);
          animation-delay: calc(3s * 5);
}

.carousel__item:nth-child(8) {
  -webkit-animation-delay: calc(3s * 6);
          animation-delay: calc(3s * 6);
}

.carousel__item:last-child {
  -webkit-animation-delay: calc(-3s * 2);
          animation-delay: calc(-3s * 2);
}

.carousel__item-head {
  border-radius: 50%;
  background-color: #d7f7fc;
  width: 90px;
  height: 90px;
  padding: 14px;
  position: relative;
  margin-right: -45px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 50px;
  img{
    color: #333;
    width: 60px;
    // height: 90px;
  }
}

.carousel__item-body {
  width: 100%;
  background-color: #fff;
  border-radius: 8px;
  padding: 16px 20px 16px 70px;
}

.title {
  text-transform: uppercase;
  font-size: 20px;
  // margin-top: 10px;
}

@-webkit-keyframes carousel-animate-vertical {
  0% {
    transform: translateY(100%) scale(0.5);
    opacity: 0;
    visibility: hidden;
  }
  3%, 11.1111111111% {
    transform: translateY(100%) scale(0.7);
    opacity: 0.4;
    visibility: visible;
  }
  14.1111111111%, 22.2222222222% {
    transform: translateY(0) scale(1);
    opacity: 1;
    visibility: visible;
  }
  25.2222222222%, 33.3333333333% {
    transform: translateY(-100%) scale(0.7);
    opacity: 0.4;
    visibility: visible;
  }
  36.3333333333% {
    transform: translateY(-100%) scale(0.5);
    opacity: 0;
    visibility: visible;
  }
  100% {
    transform: translateY(-100%) scale(0.5);
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes carousel-animate-vertical {
  0% {
    transform: translateY(100%) scale(0.5);
    opacity: 0;
    visibility: hidden;
  }
  3%, 11.1111111111% {
    transform: translateY(100%) scale(0.7);
    opacity: 0.4;
    visibility: visible;
  }
  14.1111111111%, 22.2222222222% {
    transform: translateY(0) scale(1);
    opacity: 1;
    visibility: visible;
  }
  25.2222222222%, 33.3333333333% {
    transform: translateY(-100%) scale(0.7);
    opacity: 0.4;
    visibility: visible;
  }
  36.3333333333% {
    transform: translateY(-100%) scale(0.5);
    opacity: 0;
    visibility: visible;
  }
  100% {
    transform: translateY(-100%) scale(0.5);
    opacity: 0;
    visibility: hidden;
  }
}